(try_scrolling): New arg LAST_LINE_MISFIT.
authorRichard M. Stallman <rms@gnu.org>
Mon, 6 Jan 2003 00:58:45 +0000 (00:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 6 Jan 2003 00:58:45 +0000 (00:58 +0000)
commitc4433fa12aeeb223d47f7e84d7476c15b09e88a7
tree633b5f91eb041f4358007e8502ec2a26c512e52a
parentf2ccd832ed226524c293b3ab389766ba8b753470
(try_scrolling): New arg LAST_LINE_MISFIT.
Count LAST_LINE_MISFIT in scroll margin for end of window.
Move label too_near_end before setting SCROLL_MARGIN_POS.
Set LAST_LINE_MISFIT before jumping there.

(try_scrolling): Calculate amount_to_scroll better in
scroll_conservatively case.  If scrolling that much doesn't change
STARTP, move it down one line.

(setup_echo_area_for_printing): Kill Emacs if no selected frame.
src/xdisp.c